home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990725-20000114 / 000330_news@columbia.edu _Wed Dec 8 10:04:34 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA23490
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 8 Dec 1999 10:04:34 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA02544
  7.     for kermit.misc@watsun.cc.columbia.edu; Wed, 8 Dec 1999 09:47:32 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Subject: Re: kermit / tinyirc notes
  11. Date: 8 Dec 1999 14:47:31 GMT
  12. Organization: Columbia University
  13. Message-ID: <82lr23$2fd$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@columbia.edu
  15.  
  16. In article <TCPSMTP.19.12.8.0.30.10.2375661496.5936661@kincyb.com>,
  17.  <Use-Author-Address-Header@[127.1]> wrote:
  18. : ...
  19. : (sent to comp.protocols.kermit.misc, scoug-irc, scoug-programming)
  20. Thanks for your fascinating postings (C-Kermit and screen; stripping
  21. ANSI sequences from session logs; IRC script...) -- it's always a treat
  22. to see Kermit put to creative uses.  Version 7.0 Beta.11, announced
  23. yesterday, should add a few new tools to your bag of tricks.
  24.  
  25. : I don't have access to my Warp system right now, so I
  26. : haven't spent to much more time on this, because there
  27. : seems to be a problem with getting the EOLs properly
  28. : interpreted by the Debian Linux 2.1 terminal properly,
  29. : that didn't seem to show up with the first few stabs at
  30. : this with Kermit/2, where the terminal emulation is
  31. : supplied by Kermit.  These hint at a possible use for a
  32. : 'set terminal nl-display crlf' command. (or maybe
  33. : someone more knowledgable about UNIX/c-kermit can
  34. : suggest an stty/setterm option to solve the problem.)
  35. :
  36. The problem, I think, comes from SET HOST /COMMAND, which, although
  37. quite portable, has the drawback that it bypasses the terminal driver.
  38.  
  39. C-Kermit 7.0 Beta.11 gives you an alternative, SET HOST /PTY, which does
  40. the same thing as SET HOST /COMMAND, but uses a pseudoterminal rather
  41. than just a direct pipe to the application; this way you get the
  42. services of the terminal driver AND you can run applications (like ssh)
  43. that don't use standard i/o.
  44.  
  45. The drawback of the PTY approach is that it is decidedly UN-portable.
  46. We have it working in:
  47.  
  48.    . 4.4BSD, including BSDI/OS, NetBSD, FreeBSD, and OpenBSD
  49.    . AIX 4.1 and later
  50.    . DG/UX 5.4R4.11
  51.    . Digital UNIX 3.2 and 4.0 (incl Tru64)
  52.    . HP-UX 9.00 and later
  53.    . IRIX 6.0 and later
  54.    . Linux
  55.    . NeXTSTEP 3.x
  56.    . QNX 4.25 (except PTY process termination not detected)
  57.    . SCO OSR5.0.5
  58.    . SCO Unixware 7
  59.    . SINIX 5.42
  60.    . Solaris 2.x and 7
  61.    . SunOS 4.1.3
  62.  
  63. : One possible use that came to mind was to deliver a
  64. : prepared 'speech' over IRC by setting the kermit pacing
  65. : to a reasonable interval and transmitting a file to the
  66. : chat channel (if you're working in a full screen
  67. : environment you can't just dump the clipboard into your
  68. : irc client input .).  (Just what the world doesn't need
  69. : - a new media for politicians to deliver their blather
  70. : over! :-) )
  71. Or for you to give yourself an alibi while committing the perfect crime :-)
  72.  
  73. : I tried putting Lynx under similar control, and the
  74. : video output came through ok, but apparently the
  75. : keyboard input is nonstandard and chokes...
  76. :
  77. The pseudoterminal approach should help here too.
  78.  
  79. : Thanks to Nathan Laredo for writing tinyirc, and the
  80. : Kermit people at Columbia U. for adding the intresting
  81. : new capabilities to Kermit, and Sector & crew at
  82. : irc.webbnet.org for putting up with my ravings.
  83. Keep them up!  Let us know how "set host /pty" affects this application.
  84.  
  85. - Frank